.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 90px;
}

.meter {
  // width: 300px; 
  // height: 150px;
  // position: relative; 
  // margin: 30px 0; 
  // background: #f5f5f5;
  // border-radius: 150px 150px 0 0;
  // overflow: hidden;
  
  position: relative;
  width: 300rpx;
  height: 300rpx;
  margin: 0 auto;
}

.scale {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #4CAF50 0%, #FFC107 50%, #F44336 100%);
  clip-path: ellipse(150px 150px at 50% 100%);
}

.needle {
  // position: absolute;
  // width: 4px;
  // height: 120px;
  // background: #333;
  // bottom: 0;
  // left: 50%;
  // transform-origin: bottom center;
  // transition: transform 0.5s ease;
  // z-index: 10;
  
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8rpx;
  height: 296rpx;
  transform-origin: 50% 90%; /* 指针底部为旋转中心 */
}

.center-circle {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #333;
  border-radius: 50%;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  z-index: 20;
}

.info {
  margin: 20px 0;
  text-align: center;
  line-height: 1.8;
  
  text {
    display: block;
    font-size: 16px;
  }
}

button {
  margin: 10px 0;
  width: 200px;
  padding: 10px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  
  &[disabled] {
    background-color: #cccccc;
  } 
}

input { 
  border: 1px solid #ddd;
  padding: 10px;
  margin-top: 10px;
  width: 200px;
  border-radius: 4px;
}


.meter {
	position: relative;
	width: 300rpx;
	height: 300rpx;
	margin: 0 auto;
}
.dashboard-bg {
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
}
